<h1>Listing group_spaces</h1>

<table>
  <tr>
    <th>Group</th>
    <th>Academic space</th>
  </tr>

<% @group_spaces.each do |group_space| %>
  <tr>
    <td><%=h group_space.group %></td>
    <td><%=h group_space.academic_space %></td>
    <td><%= link_to 'Show', group_space %></td>
    <td><%= link_to 'Edit', edit_group_space_path(group_space) %></td>
    <td><%= link_to 'Destroy', group_space, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New group_space', new_group_space_path %>